package minigobstonesDomain;

class Celda {
	public Integer cantNegras
	public Integer cantAzules
	public Integer cantRojas
	public Integer cantVerdes
	public Integer x;
	public Integer y;
	
	
	new(Integer xx, Integer yy){
		this.cantNegras = 0
		this.cantAzules = 0
		this.cantRojas = 0
		this.cantVerdes = 0
		this.x = xx
		this.y = yy
	}
	def imprimirLinea(){
		print("---------")
	}
	
	def imprimirEstadoFirstFrame(int x, int y){
		if(x == this.x &&  this.y == y){
		 print("[A:"+this.cantAzules +" N:" + this.cantNegras +"]" )
		}else{
		 print("|A:"+this.cantAzules +" N:" + this.cantNegras +"|" )
		}
	}
	def imprimirEstadoSecondFrame(int x, int y){
		if(x == this.x &&  this.y == y){
		 print("[R:" + this.cantRojas +" V:" + this.cantVerdes+"]")
		}else{
		print("|R:" + this.cantRojas +" V:" + this.cantVerdes+"|" )
		}
	}

}